package org.whatever.aha.zjut.platform.controller.schema;

import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;
import org.whatever.aha.zjut.base.dto.AjaxResult;
import org.whatever.aha.zjut.platform.annotation.ProjectPermission;
import org.whatever.aha.zjut.platform.entity.project.ProjectAppJudge;
import org.whatever.aha.zjut.platform.service.schema.ApplicationSchemaService;
import org.whatever.aha.zjut.platform.vo.PageVo;

import java.util.List;

/**
 * @author Vc
 * @version 1.0
 * @Desc
 * @date 2021/12/19 16:25
 */
@Api(tags = "应用页面相关请求")
@RequestMapping("/v1/applicationSchema")
@RequiredArgsConstructor
@RestController
public class ApplicationSchemaController {
    final ApplicationSchemaService applicationSchemaService;

//    @GetMapping("/getProjectAppJudge/{appid}")
//    AjaxResult<PageVo<List<ProjectAppJudge>>> getProjectAppJudgePagable(@PathVariable("appid")int appid,
//                                                                        @RequestParam(value = "pageNum", defaultValue = "1") int pageNum,
//                                                                        @RequestParam(value = "pageSize", defaultValue = "10") int pageSize){
//        return AjaxResult.SUCCESS(applicationSchemaService.getProjectAppJudgePagable(appid, pageNum, pageSize));
//    }
}
